<%--
  Created by IntelliJ IDEA.
  User: dllo
  Date: 18/6/6
  Time: 下午7:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>登入页面</title>
    <link href="/static/css/bootstrap.min.css" rel="stylesheet">
    <script src="/static/jquery-3.3.1.js"></script>
    <script src="/static/js/bootstrap.min.js"></script>

    <style>
        *{
            font-size: medium;
        }
    </style>
</head>
<body>

<div style="height: 150px"></div>
<div class="col-md-4"></div>
<div class="col-md-4">

    <h1 style="text-align: center">登入页面</h1>
    <span style="color: red">${msg}</span>
    <form action="<%=request.getContextPath()%>/login.do" method="get">
        <label>用户名:</label>
        <input name="username" class="form-control" value="${user.username}">
        <br>
        <label>密码:</label>
        <input name="pwd" type="password" class="form-control">
        <br>
        <input type="submit" value="立即登入" class="btn btn-primary btn-block">
        <br>
        <a href="/user/toRegister">没有账号？注册一个</a>
    </form>

</div>
<div class="col-md-4"></div>


</body>
</html>
